<?php
/**
 * get upload status action
 * 
 * @package    upload
 * @author     ben
 */
class getStatusAction extends WacCommonActions
{
    public function execute($request)
    {
    	//brand_id is not the id, brand_id is the slug
        if(!$request->hasParameter('APC_UPLOAD_PROGRESS')) $this->forward404();

        $resultSet = apc_fetch($request->getParameter('APC_UPLOAD_PROGRESS'));
        $resultSet = array("abc");
        return OutputHelper::getInstance()->outputJsonOrTextFormat($resultSet, $this);
    }
}